Class CableComponent
Component that allows you to specify custom triangle mesh geometry
Inheritance
System.Object
CableComponent
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: UE4DotNet.dll
Syntax
public class CableComponent : MeshComponent
Properties
|
Improve this Doc
View Source
AttachEndTo
Actor or Component that the defines the end position of the cable
Declaration
public ComponentReference AttachEndTo { get; set; }
Property Value
|
Improve this Doc
View Source
AttachEndToSocketName
Socket name on the AttachEndTo component to attach to
Declaration
public Name AttachEndToSocketName { get; set; }
Property Value
|
Improve this Doc
View Source
bAttachEnd
Declaration
public bool bAttachEnd { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
bAttachStart
Declaration
public bool bAttachStart { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
bEnableCollision
Declaration
public bool bEnableCollision { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
bEnableStiffness
Declaration
public bool bEnableStiffness { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
CableForce
Force vector (world space) applied to all particles in cable.
Declaration
public Vector CableForce { get; set; }
Property Value
|
Improve this Doc
View Source
CableGravityScale
Scaling applied to world gravity affecting this cable.
Declaration
public float CableGravityScale { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
CableLength
Declaration
public float CableLength { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
CableWidth
How wide the cable geometry is
Declaration
public float CableWidth { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
CollisionFriction
If collision is enabled, control how much sliding friction is applied when cable is in contact.
Declaration
public float CollisionFriction { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
DefaultObject
Get UE4 Default Object for this Class
Declaration
public static CableComponent DefaultObject { get; }
Property Value
|
Improve this Doc
View Source
EndLocation
End location of cable, relative to AttachEndTo (or AttachEndToSocketName) if specified, otherwise relative to cable component.
Declaration
public Vector EndLocation { get; set; }
Property Value
|
Improve this Doc
View Source
NumSegments
How many segments the cable has
Declaration
public int NumSegments { get; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
NumSides
Number of sides of the cable geometry
Declaration
public int NumSides { get; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
SolverIterations
The number of solver iterations controls how 'stiff' the cable is
Declaration
public int SolverIterations { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
StaticClass
Declaration
public static Class StaticClass { get; }
Property Value
|
Improve this Doc
View Source
SubstepTime
Controls the simulation substep time for the cable
Declaration
public float SubstepTime { get; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
TileMaterial
How many times to repeat the material along the length of the cable
Declaration
public float TileMaterial { get; set; }
Property Value
Type |
Description |
System.Single |
|
Methods
|
Improve this Doc
View Source
GetAttachedActor()
Gets the Actor that the cable is attached to *
Declaration
public Actor GetAttachedActor()
Returns
|
Improve this Doc
View Source
GetAttachedComponent()
Gets the specific USceneComponent that the cable is attached to *
Declaration
public SceneComponent GetAttachedComponent()
Returns
|
Improve this Doc
View Source
GetCableParticleLocations()
Get array of locations of particles (in world space) making up the cable simulation.
Declaration
public IReadOnlyCollection<Vector> GetCableParticleLocations()
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<Vector> |
|
|
Improve this Doc
View Source
New(UObject, Name)
Spawn an object of this class
Declaration
public static CableComponent New(UObject obj = null, Name name = default(Name))
Parameters
Returns
|
Improve this Doc
View Source
SetAttachEndTo(Actor, Name, Name)
Attaches the end of the cable to a specific Component within an Actor *
Declaration
public void SetAttachEndTo(Actor Actor, Name ComponentProperty, Name SocketName)
Parameters
Type |
Name |
Description |
Actor |
Actor |
|
Name |
ComponentProperty |
|
Name |
SocketName |
|
Operators
|
Improve this Doc
View Source
Implicit(IntPtr to CableComponent)
Convert from IntPtr to UObject
Declaration
public static implicit operator CableComponent(IntPtr p)
Parameters
Type |
Name |
Description |
System.IntPtr |
p |
|
Returns