ParticleOperator
Stores a custom particle-update shader.
- Creatable
Instance.new("ParticleOperator")- Inherits
- Instance
- Replication
- Standard
Behavior
ParticleOperator stores a custom particle-update shader.
Summary
The latest compilation error for this source, or nil when compilation has not been attempted, is pending, or has succeeded.
Whether the renderer has reported successful compilation for the current source.
Source: string = "fn operate(particle: ParticleState) -> ParticleState { var out = particle; return out; } "parallel readreplicatesThe custom shader program source.
Returns this instance if it is an ExecutionGroup.
Properties
CompileError
ParticleOperator.CompileError: string? = ""The latest compilation error for this source, or nil when compilation has not been attempted, is pending, or has succeeded.
Compiled
ParticleOperator.Compiled: boolean = falseWhether the renderer has reported successful compilation for the current source.
Source
ParticleOperator.Source: string = "fn operate(particle: ParticleState) -> ParticleState {
var out = particle;
return out;
}
"The custom shader program source. Source length is limited to 64 KiB. Read Compiled and CompileError for renderer compilation results.
Methods
GetExecutionGroup
ParticleOperator:GetExecutionGroup(): ExecutionGroup?Returns this instance if it is an ExecutionGroup. Otherwise returns the nearest ancestor ExecutionGroup, or nil when no group contains the instance.
Inherited members
- Properties
- ArchivableClassNameNameParent
- Methods
- AddComponent()AddTag()ClearAllChildren()ClearTags()Clone()Destroy()FindFirstAncestor()FindFirstAncestorOfClass()FindFirstAncestorWhichIsA()FindFirstChild()FindFirstChildOfClass()FindFirstChildWhichIsA()FindFirstDescendant()GetAttribute()GetAttributeChangedSignal()GetAttributes()GetChildren()GetComponent()GetComponentChangedSignal()GetComponents()GetDebugId()GetDescendants()GetFullName()GetPropertyChangedSignal()GetReferencing()GetTags()HasComponent()HasTag()IsA()IsAncestorOf()IsDescendantOf()RemoveComponent()RemoveTag()SetAttribute()WaitForChild()
- Events
- AncestryChangedAttributeChangedChangedChildAddedChildRemovedDescendantAddedDescendantRemovingDestroying